package modle;

import java.util.ArrayList;
import java.util.List;

public class Table {
	public int index = -1;
	public String player1 = "";
	public String player2 = "";
	public List<Player> players = new ArrayList<Player>(2);
	public int state = 0;
	public String name;
	public int mapIndex;
	
	public int getState() {
		return state;
	}
	public void setState(int state) { 
		this.state = state;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}
	public String getPlayer1() {
		return player1;
	}
	public void setPlayer1(String player1) {
		this.player1 = player1;
	}
	public String getPlayer2() {
		return player2;
	}
	public void setPlayer2(String player2) {
		this.player2 = player2;
	}
	public List<Player> getPlayers() {
		return players;
	}
	public void setPlayers(List<Player> lookers) {
		this.players = lookers;
	}
	public int getStatute() {
		return state;
	}
	public void setStatute(int statute) {
		this.state = statute;
	}
	
	
	
}
